package com.cloudptt.api.product.pjsua2;

import com.cloudptt.api.product.log.Log;

import org.pjsip.pjsua2.Endpoint;
import org.pjsip.pjsua2.OnIpChangeProgressParam;
import org.pjsip.pjsua2.OnNatCheckStunServersCompleteParam;

public class MyEndpoint extends Endpoint {
    @Override
    public void onNatCheckStunServersComplete(OnNatCheckStunServersCompleteParam prm) {
        super.onNatCheckStunServersComplete(prm);
        Log.debug(this.getClass(),"onNatCheckStunServersComplete  prm" + prm.getAddr()+":"+prm.getUserData()+":"+prm.getName()+":"+prm.getStatus());
    }

    @Override
    public void onIpChangeProgress(OnIpChangeProgressParam prm) {
        super.onIpChangeProgress(prm);
//        Log.debug(this.getClass(),"onNatCheckStunServersComplete  prm" + prm.getAddr()+":"+prm.getUserData()+":"+prm.getName()+":"+prm.getStatus());
    }

}

